package lu.uni.adtool.ui;

import lu.uni.adtool.adtree.ADTreeNode;

/**
 * The class should implement this interface if it want to be notified about
 * changes to the atack defence tree structure.
 * 
 * @author Piot Kordy
 */
public interface TreeChangeListener
{
  /**
   * Method called when tree has changed.
   * 
   */
  void treeChanged();
  /**
   * Method called when size of nodes have changed.
   * 
   */
  void sizeChanged();
  /**
   * Sets the focus.
   * 
   * @param node node which will have the focus.
   */
  void setFocus(ADTreeNode node);
}

